package com.pur.zsms.po;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.hibernate.annotations.GenericGenerator;

import com.pur.zsms.common.vo.BaseEntity;

/** 供货商 和分销想之间的 材料分配关系表 */
@SuppressWarnings("serial")
@Entity
@Table(name = "t_distributor_supplier_mater")
public class DistributorSupplierMaterPo extends BaseEntity {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "dis_sup_id")
	private long disSupId;

	@Column(name = "distributor_id")
	private long distributorId;

	@Column(name = "sup_id")
	private long supId;

	@Column(name = "mater_id")
	private int materId;

	public long getDisSupId() {
		return disSupId;
	}

	public void setDisSupId(long disSupId) {
		this.disSupId = disSupId;
	}

	public long getDistributorId() {
		return distributorId;
	}

	public void setDistributorId(long distributorId) {
		this.distributorId = distributorId;
	}

	public long getSupId() {
		return supId;
	}

	public void setSupId(long supId) {
		this.supId = supId;
	}

	public int getMaterId() {
		return materId;
	}

	public void setMaterId(int materId) {
		this.materId = materId;
	}

}
